export const dialogLab = [
    {
      type: "input",
      label: "账号",
      field: "username",
      placeholder:'请输入'
    },
    {
      type: "input",
      label: "昵称",
      field: "realname",
      placeholder:'请输入'
    },
    {
        type: "input",
        label: "密码",
        field: "password",
        placeholder:'请输入'
      },
    {
      type: "input",
      label: "手机号",
      field: "phone",
      placeholder:'请输入'
    },
    {
      type: "input",
      label: "邮箱",
      field: "email",
      placeholder:'请输入'
    },
    {
      type: "select",
      label: "性别",
      field: "sex",
      placeholder:'请选择',
      name:'lable',
      value:'value',
      selectdata: [
        {
          lable: "男",
          value: 0,
        },
        {
          lable: "女",
          value: 1,
        },
      ],
    },
    {
      type: "select",
      label: "状态",
      field: "locked",
      placeholder:'请选择',
      width:'100%',
      name:'lable',
      value:'value',
      selectdata: [
        {
          lable: "正常",
          value: 0,
        },
        {
          lable: "锁定",
          value: 1,
        },
      ],
    },
    {
      type: "select",
      label: "角色",
      field: "role_id",
      placeholder:'请选择',
      name:'role_name',
      value:'role_id',
      selectdata: JSON.parse(window.localStorage.getItem("user")).roleAll
    },
    {
        type: "img",
        label: "头像",
        field: "avatar",
        limit:1,
        placeholder:'请输入'
      },
  ];
  